import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'


import 'ant-design-vue/dist/reset.css';
import { createPinia } from 'pinia'
// // 引入富文本组件
// import QuillEditor from 'vue-quill-editor'
// // 引入富文本组件样式
// import 'quill/dist/quill.core.css'
// import 'quill/dist/quill.snow.css'
// import 'quill/dist/quill.bubble.css'

import { QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css'

import router from './router'


import Antd from 'ant-design-vue';
import * as Icons from '@ant-design/icons-vue';
const app = createApp(App);
app.use(Antd).use(router).use(createPinia());

// 全局注册 QuillEditor 组件
app.component('QuillEditor', QuillEditor);
app.mount('#app');
